//
//  ZTodoFlowLayout.m
//  WeClubs
//
//  Created by Zed Link on 8/4/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import "ZTodoFlowLayout.h"

@implementation ZTodoFlowLayout

- (void)prepareLayout
{
    [super prepareLayout];
    
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
    self.minimumLineSpacing = DYNAMIC_LEFT_RIGHT_SPACE;
    self.minimumInteritemSpacing = DYNAMIC_LEFT_RIGHT_SPACE;
    self.estimatedItemSize = CGSizeMake(self.collectionView.bounds.size.width - DYNAMIC_LEFT_RIGHT_SPACE * 2, 128);
    self.itemSize = UICollectionViewFlowLayoutAutomaticSize;
}

@end
